<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>投票系统演示</title>
</head>
<body>
<script type="text/javascript">
var display = function(vc){
	alert(vc.vc);
	document.write(vc.vc);
}
</script>
<script type="text/javascript" src="http://127.0.0.1:8888/vote?voteids=13454&tplid=39607&output=documentwrite"></script>

</body>
</html>

<!-- 
	<script type="text/javascript">
		var m3958_vote_onsubmit${vote.id?c} = function(){
			var radios = document.forms["voteForm${vote.id?c}"]["tmpvid"];
			var vids = "";
			for(var i=0;i<radios.length;i++){
				if(radios[i].checked){
					vids += radios[i].value + "-";
				}
			}
			alert(vids);
			document.forms["voteForm${vote.id?c}"]["vid"].value = vids;
		}
	</script>
	<div id="vote-result"></div>
	<div id="vote-display"></div>
	<form action="/vote" name="voteForm${vote.id?c}" method="get" onsubmit="m3958_vote_onsubmit${vote.id?c}()">
	<input type="hidden" name="tplid" value="39608"/>
	<input type="hidden" name="vid" value=""/>
	<input type="hidden" name="dovote" value="true"/>
	<table width="98%" cellspacing="4" cellpadding="0" border="0" align="left"> 
		<tbody> 
			<tr> 
			<td height="35">&nbsp;</td></tr> 
			<tr > 
			<td > 
			<table width="95%" align="left"> 
				<tbody>

					<tr>
						<td align="left"></td>
					</tr>
					<tr>
						<td>您采用什么方式解决矛盾纠纷？
							<table width="98%" border="0" align="left"> 
								<tbody>
									<#list vote.children as v>
									<tr>
										<td>
											<input type="radio" value="${v.id?c}" id="vid${v.id?c}" name="tmpvid">
											<label for="vid${v.id?c}">${v.name}</label>
										</td>
									</tr>
									</#list>
								</tbody>
							</table>
						</td></tr> 
					<tr>
						<td align="center"> 
							<table>
								<tbody>
								<tr>
									<td><input type="submit" id="voteFromSubmit"  value="投票或查看"></td> 
									<td></td> 
								</tr>
								</tbody>
							</table>
						</td>
					</tr>
				</tbody>
			</table> 
			</td> 
			</tr> 
		</tbody> 
	</table> 
	</form>


 -->